const net = require('net');

const client = net.createConnection({port: 9898}, (clinet) => {
	console.log('client connection')
	client.write('hi ---- form clint')
});

client.on('data', data => {
	console.log(data);
	client.end()
});

client.on('end', () => {
	console.log('client end')
})

